package com.zzz.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzz.user.entity.UPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Author
 * @since 2022-04-22
 */
public interface UPermissionMapper extends BaseMapper<UPermission> {

    List<String> getCodeByRoleIds(@Param("roleIds") List<Long> roleIds);
}
